package org.csu.pet_store_back.service;

import org.csu.pet_store_back.common.CommonResponse;
import org.csu.pet_store_back.domain.Order;

import java.util.List;

public interface OrderService {
    CommonResponse<List<Order>> getAllOrders(String shopperId);

    CommonResponse<Order> newOrder(Order order);

    CommonResponse<Order> updateOrderAddress(String orderId,String address);

    CommonResponse<Order> updateOrderStatus(String orderId,String status,String date);
}
